 package org.edu.modules.portal.service.impl;

 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import java.util.List;
 import org.edu.modules.portal.entity.VeSiteLower;
 import org.edu.modules.portal.mapper.VeSiteLowerMapper;
 import org.edu.modules.portal.service.IVeSiteLowerService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;




 @Service
 public class VeSiteLowerServiceImpl
   extends ServiceImpl<VeSiteLowerMapper, VeSiteLower>
   implements IVeSiteLowerService
 {
   @Autowired
   private VeSiteLowerMapper veSiteLowerMapper;

   @Transactional
   public int saveList(List<VeSiteLower> veSiteLowers) {
/* 25 */     int total = 0;
     for (VeSiteLower veSiteLower : veSiteLowers) {
/* 27 */       total += this.veSiteLowerMapper.insert(veSiteLower);
     }
     return total;
   }
   @Transactional
   public int updateList(List<VeSiteLower> veSiteLowers) {
/* 33 */     int total = 0;
/* 34 */     for (VeSiteLower veSiteLower : veSiteLowers) {
/* 35 */       total += this.veSiteLowerMapper.updateById(veSiteLower);
     }
     return total;
   }
 }


